package com.campusbackend.service;

import com.campusbackend.entity.TeamExperts;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 队伍专家表 服务类
 * </p>
 *
 * @author yezi
 * @since 2025-07-26
 */
public interface TeamExpertsService extends IService<TeamExperts> {

    /**
     * 教师入驻队伍
     * @param teamId 队伍ID
     * @param expertId 专家ID（教师ID）
     * @return 是否入驻成功
     */
    boolean joinTeam(Long teamId, Long expertId);
} 